/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * IVisitaFueraRuta.java
 *
 * Created on 18/07/2012, 06:32:05 PM
 */
package Test;

/**
 *
 * @author Administrador
 */
public class IVisitaFueraRuta extends javax.swing.JInternalFrame {

    /** Creates new form IVisitaFueraRuta */
    public IVisitaFueraRuta() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        mnuToolBar = new javax.swing.JToolBar();
        btnProgramarVisita = new javax.swing.JButton();
        pnlContenedor = new javax.swing.JPanel();
        pnlInput = new javax.swing.JPanel();
        pnlLabels = new javax.swing.JPanel();
        lblNomCli = new javax.swing.JLabel();
        pnlDiaVisita = new javax.swing.JLabel();
        pnlHoraSugerida = new javax.swing.JLabel();
        pnlCombos = new javax.swing.JPanel();
        cmbNomCli = new javax.swing.JComboBox();
        dateVisita = new com.toedter.calendar.JDateChooser();
        cmbHoraSugerida = new javax.swing.JComboBox();
        btn = new javax.swing.JButton();

        setClosable(true);
        setIconifiable(true);
        setMaximizable(true);
        setResizable(true);
        setTitle("Visita Fuera de Ruta");

        mnuToolBar.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1));
        mnuToolBar.setFloatable(false);
        mnuToolBar.setRollover(true);

        btnProgramarVisita.setText("Programar Visita");
        btnProgramarVisita.setFocusable(false);
        btnProgramarVisita.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnProgramarVisita.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        mnuToolBar.add(btnProgramarVisita);

        getContentPane().add(mnuToolBar, java.awt.BorderLayout.PAGE_START);

        pnlContenedor.setBorder(javax.swing.BorderFactory.createTitledBorder("Detalle"));

        pnlInput.setLayout(new java.awt.BorderLayout());

        pnlLabels.setPreferredSize(new java.awt.Dimension(101, 151));
        pnlLabels.setLayout(new java.awt.GridLayout(3, 1, 5, 5));

        lblNomCli.setText("Cliente");
        pnlLabels.add(lblNomCli);

        pnlDiaVisita.setText("Día de Visita");
        pnlLabels.add(pnlDiaVisita);

        pnlHoraSugerida.setText("Hora Sugerida");
        pnlLabels.add(pnlHoraSugerida);

        pnlInput.add(pnlLabels, java.awt.BorderLayout.LINE_START);

        pnlCombos.setLayout(new java.awt.GridLayout(3, 1, 5, 5));

        cmbNomCli.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
        pnlCombos.add(cmbNomCli);
        pnlCombos.add(dateVisita);

        cmbHoraSugerida.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
        pnlCombos.add(cmbHoraSugerida);

        pnlInput.add(pnlCombos, java.awt.BorderLayout.CENTER);

        btn.setText("<html><center>Importar</center></html>");

        javax.swing.GroupLayout pnlContenedorLayout = new javax.swing.GroupLayout(pnlContenedor);
        pnlContenedor.setLayout(pnlContenedorLayout);
        pnlContenedorLayout.setHorizontalGroup(
            pnlContenedorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlContenedorLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(pnlInput, javax.swing.GroupLayout.PREFERRED_SIZE, 305, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(227, Short.MAX_VALUE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pnlContenedorLayout.createSequentialGroup()
                .addContainerGap(457, Short.MAX_VALUE)
                .addComponent(btn, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        pnlContenedorLayout.setVerticalGroup(
            pnlContenedorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlContenedorLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(pnlInput, javax.swing.GroupLayout.PREFERRED_SIZE, 85, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 106, Short.MAX_VALUE)
                .addComponent(btn, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        getContentPane().add(pnlContenedor, java.awt.BorderLayout.CENTER);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btn;
    private javax.swing.JButton btnProgramarVisita;
    private javax.swing.JComboBox cmbHoraSugerida;
    private javax.swing.JComboBox cmbNomCli;
    private com.toedter.calendar.JDateChooser dateVisita;
    private javax.swing.JLabel lblNomCli;
    private javax.swing.JToolBar mnuToolBar;
    private javax.swing.JPanel pnlCombos;
    private javax.swing.JPanel pnlContenedor;
    private javax.swing.JLabel pnlDiaVisita;
    private javax.swing.JLabel pnlHoraSugerida;
    private javax.swing.JPanel pnlInput;
    private javax.swing.JPanel pnlLabels;
    // End of variables declaration//GEN-END:variables
}
